projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b8554
)
[IA64] zero clear page for pgd, pmd, pte.
author
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Thu, 9 Feb 2006 20:43:39 +0000
(13:43 -0700)
committer
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Thu, 9 Feb 2006 20:43:39 +0000
(13:43 -0700)
xen heap page are not always zero cleared, so that explicit zeroing
is needed.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/xenmisc.c
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/xen/xenmisc.c
b/xen/arch/ia64/xen/xenmisc.c
index e73fab753eaa76839b55339ad1fb549e4c5db268..923f254ad44134df8e059235b1a224695841728c 100644
(file)
--- a/
xen/arch/ia64/xen/xenmisc.c
+++ b/
xen/arch/ia64/xen/xenmisc.c
@@
-168,7
+168,11
@@
void __free_pages(struct page *page, unsigned int order)
void *pgtable_quicklist_alloc(void)
{
- return alloc_xenheap_pages(0);
+ void *p;
+ p = alloc_xenheap_pages(0);
+ if (p)
+ clear_page(p);
+ return p;
}
void pgtable_quicklist_free(void *pgtable_entry)